PaymentPlugins\WooCommerce\PPCP\Payments\PaymentGateways A

Total Complexity 52
Dependencies 17
Dependents 14
Total lines 252
Lines of code 165
Logical lines of code 96
Comment lines 40
Methods 20
Properties 5

Methods 20

Method Rating Maintainability Complexity Lines of code
get_available_payment_gateways()
A
54 10 21
initialize_gateways()
A
50 8 29
add_minicart_scripts()
S
59 8 14
load_scripts()
S
55 7 19
add_scripts()
S
57 4 15
__construct()
S
59 1 13
add_admin_script_dependencies()
S
79 1 3
get_payment_method_registry()
S
82 1 3
get_general_asset_data()
S
65 1 9
add_product_scripts()
S
77 1 4
filter_by_available()
S
70 1 6
set_page_context()
S
81 1 3
get_minicart_payment_gateways()
S
77 1 4
get_express_payment_gateways()
S
81 1 3
get_product_payment_gateways()
S
80 1 3
get_cart_payment_gateways()
S
81 1 3
get_gateway()
S
80 1 3
has_gateway()
S
80 1 3
register_payment_methods()
S
76 1 4
get_api_settings()
S
82 1 3